Name :Generate shutdown delay

Symbol:TOF

Illustrate:

    You can use the Generate off-delay command to set the reset delay of the Q output at a time PT. When the result of the logic operation (RLO) of the input IN changes from "0" to "1" (the rising edge of the signal), the Q output will be set. When the signal status at the input IN changes back to "0", the preset time PT starts timer. As long as the PT duration is still timed, the output Q remains set. After the duration PT timing is over, the output Q will be reset. If the signal status of the input IN changes to "1" before the end of the duration PT timer, the timer is reset. The signal status of the output Q will still be "1".
    You can query the current time value in the ET output. This timer value starts at T#0s and ends when the duration value PT is reached. When the duration PT timer ends, the output ET remains set to the current value until the input IN changes back to "1". Before the end of the duration PT timing, if the signal state of the input IN is switched to "1", the ET output is reset to the value T#0s. 

Image:

Parameter:

Parameter Statement Type Description
IN Input BOOL
Initiation input
PT Input TIME
The duration of the shutdown delay, the value of the PT parameter must be positive
Q Output BOOL
The output of the set when the time PT is exceeded
ET Output TIME
The current time value

Pulse timing diagram:

Example:

LD:

ST:



Interpretation:

Parameter operandvalue
INTagStartSignal transitions“1”=>“0”
PTTagPresetTimeT#10s
QTagStatusTRUE
ETTagElapsedTimeT#0s => T#10s
    When the signal status of the operand "TagStart" changes from "0" to "1", the signal status of the operand "TagStatus" will be set to "1". When the signal status of the "TagStart" operand changes from "1" to "0", the time preset by the PT parameter will start timekeeping. As long as the time is still timed, the TagStatus operand remains pinned to TRUE. When the time is timed, the TagStatus operand is reset to FALSE. The current-time value is stored in the TagElapsedTime operand.